package cn.zyjblogs.starter.feign.autoconfigure;

import com.netflix.hystrix.Hystrix;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhuyijun
 */
@Configuration
@ConditionalOnClass({Hystrix.class})
@ConditionalOnProperty(
        prefix = "feign.hystrix",
        value = {"enabled"},
        havingValue = "true"
)
public class BaseContextHystrixAutoConfiguration {
    private static final Logger log = LoggerFactory.getLogger(BaseContextHystrixAutoConfiguration.class);

    public BaseContextHystrixAutoConfiguration() {
    }
    
}
